-- GENERATED SPELL FOR [Slitherblade Myrmidon] --


function spell0_4714(pUnit, Event) --@Localized Toxin,n/a--
pUnit:FullCastSpellOnTarget(7947,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4714', 0, 1)
end

function Sorts_4714(pUnit, Event)
local choix_sorts_4714 = math.random(0, 0)
if choix_sorts_4714 == 0 then
pUnit:RegisterEvent('spell0_4714', 1, 1)
end
end

function mob4714_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4714', math.random(1500, 3000), 1)
end

function mob4714_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4714_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4714_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4714, 1, 'mob4714_Action')
RegisterUnitEvent(4714, 2, 'mob4714_Leave')
RegisterUnitEvent(4714, 3, 'mob4714_Kill')
RegisterUnitEvent(4714, 4, 'mob4714_Die')
